package com.haierp.model.purchase;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

/**
 * 采购任务记录
 * @author zhulu
 *
 */
public class Receipt implements Serializable{
	
	/** 主键id */
	@TableId(type = IdType.AUTO)
	private Long id;
	@TableField(value = "receipt_no")
	private String receiptNo;
	@TableField(value = "total_price")
	private Double totalPrice;
	private Integer status;
	@TableField(value = "purchase_storage_id")
	private Integer purchaseStorageId;
	@TableField(value = "gmt_create")
	private Date gmtCreate;
	@TableField(value = "gmt_modify")
	private Date gmtModify;
	@TableField(value = "buyer_id")
	private Long buyerId;
	@TableField(value = "receipt_pic_list")
	private String receiptPicList;
	@TableField(value = "purchase_address")
	private String purchaseAddress;
	@TableField(exist=false)
	private List<TaskReceipt> taskReceiptList;
	
	@TableField(exist=false)
	private Integer quantity;
	@TableField(exist=false)
	private Integer transQuantity;
	@TableField(exist=false)
	private Double transTotalPrice;
	@TableField(exist=false)
	private String taskTitle;
	@TableField(exist=false)
	private String taskOrderNo;
	
	@TableField(exist=false)
	private String buyerName;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getReceiptNo() {
		return receiptNo;
	}
	public void setReceiptNo(String receiptNo) {
		this.receiptNo = receiptNo;
	}
	public Double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getPurchaseStorageId() {
		return purchaseStorageId;
	}
	public void setPurchaseStorageId(Integer purchaseStorageId) {
		this.purchaseStorageId = purchaseStorageId;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModify() {
		return gmtModify;
	}
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}
	public List<TaskReceipt> getTaskReceiptList() {
		return taskReceiptList;
	}
	public void setTaskReceiptList(List<TaskReceipt> taskReceiptList) {
		this.taskReceiptList = taskReceiptList;
	}
	public Long getBuyerId() {
		return buyerId;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public Integer getTransQuantity() {
		return transQuantity;
	}
	public void setTransQuantity(Integer transQuantity) {
		this.transQuantity = transQuantity;
	}
	public Double getTransTotalPrice() {
		return transTotalPrice;
	}
	public void setTransTotalPrice(Double transTotalPrice) {
		this.transTotalPrice = transTotalPrice;
	}
	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}

	public String getTaskTitle() {
		return taskTitle;
	}

	public void setTaskTitle(String taskTitle) {
		this.taskTitle = taskTitle;
	}
	public String getReceiptPicList() {
		return receiptPicList;
	}
	public void setReceiptPicList(String receiptPicList) {
		this.receiptPicList = receiptPicList;
	}
	public String getPurchaseAddress() {
		return purchaseAddress;
	}
	public void setPurchaseAddress(String purchaseAddress) {
		this.purchaseAddress = purchaseAddress;
	}
	public String getTaskOrderNo() {
		return taskOrderNo;
	}
	public void setTaskOrderNo(String taskOrderNo) {
		this.taskOrderNo = taskOrderNo;
	}
	public String getBuyerName() {
		return buyerName;
	}
	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}
	
}
